/*
this file used to redefine many functions, such as malloc calloc printf scanf ...
the redefine is helpful for the test because it will put more infomation without effecting the function
when you don't want to test ,  just not include the .h file
*/
#define IS_TESTING 1
#if IS_TESTING     // if you want to test

#define printf(format,contents...)  printf("\n***c:%d f:%s***\n"format,__LINE__,__FILE__,##contents);
#define scanf(format,contents...)  printf("");scanf(format,##contents)
#define puts(s)     printf("");puts(s)
#define gets(s)     printf("");gets(s)
#define ckpoint    printf("//check point//fuction:%s\n***************\n",__func__);
#endif
